<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addBooks.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  	<a href="menu/admin_menu.jsp"><h2>点击返回导航页</h2></a>
  	<center>
  		<h1>录入图书</h1>
		    <form action="addBook!insertBook.action" method="post">
		    	<table border="1"  border="0" cellpadding="3" cellspacing="1" style="margin-bottom:8px;margin-top:8px;">
		    		<tr>
		    			<th>ISBN</th>
		    			<th>图书名称</th>
		    			<th>作者</th>
		    			<th>价格</th>
		    		</tr>
		    		
		    		<tr>
		    			<td><input type="text" name="book.isbn" /></td>
		    			<td><input type="text" name="book.bookName" /></td>
		    			<td><input type="text" name="book.author" /></td>
		    			<td><input type="text" name="book.price" /></td>
		    		</tr>
		    	
		    	</table>
		    	<input  type="submit" value="提交"/>
				<input type="reset" value="取消"/>
		    </form>
   	</center>
  </body>
</html>
